{{each list position index}}
<div class="list-item" pd_name="{{position.pd_name}}" pd_no="<%=position.pd_no%>">
    <div class="list-title clearfix">
        <label class="list-title__left"><%=position.pd_name%></label>
        <!--<a href="#product/purchase/{{position.pd_no}}" class="buy-btn">申</a>-->
        <!--<a href="#product/redeem/{{position.pd_no}}" class="redeem-btn">赎</a>-->
    </div>
    <ul class="list-content weui-flex">
        <li class="weui-flex__item ">
            <p style="color:#4A90E2"><%=$imports.format('date','yyyy-MM-dd',position.evalu_date)%></p>
            <p>净值日期</p>
        </li>
        <li class="weui-flex__item ">
            <p style="color:#E9001D"><%= $imports.format('number','0.0000',position.share_net)%></p>
            <p>单位净值</p>
        </li>
        {{if show_profit}}
        <% if(position.realize_pandl < 0 ){ %>
        <li class="weui-flex__item ">
            <p style="color:#129c12"><%=$imports.format('number','$0.00',position.realize_pandl)%></p>
        <% }else{ %>
        <li class="weui-flex__item " >
            <p style="color:#e63636"><%=$imports.format('number','$0.00',position.realize_pandl)%></p>
        <% } %>
            <p>产品盈亏</p>
        </li>
        {{else}}
        <li class="weui-flex__item ">
            <p><%= $imports.format('number','$0.00',position.pd_share) %></p>
            <p>持有份额</p>
        </li>
        {{/if}}
    </ul>
    <div class="list-footer clearfix">
        {{if show_profit }}
            <label class="list-footer__left">持有份额：<span><%= $imports.format('number','$0.00',position.pd_share) %></span></label>
            <label class="list-footer__right">资产：<span><%=$imports.format('number','$0.00',position.pd_share*position.share_net)%></span></label>
        {{else}}
            <label class="list-footer__left">资产：<span><%=$imports.format('number','$0.00',position.pd_share*position.share_net)%></span></label>
        {{/if}}
    </div>
</div>
{{/each}}